:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  font-weight: 400;
  color-scheme: light dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*{
  margin: 0;
  padding: 0;
  
}
a {
  font-weight: 500;
  text-decoration: inherit;
}

h1 {
  line-height: 1.1;
}

.app-container{
  padding: 15px;
  min-height: 100%;
}
.flex{
  display: flex;
}
.el-card+.el-card{
  margin-top: 15px;
}
.flex{
  display: flex;
}
.flexC{
  display: flex;
  align-items: center;
}
.flexCC{
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-input{
  width: 80% !important;
}
.el-input-number, .el-input-number input{
  height: var(--el-component-size);
  text-align: left !important;
}
.ellipsis{
   /* 2. 核心属性：禁止换行 + 隐藏溢出 + 显示省略号 */
  white-space: nowrap; /* 禁止文字换行 */
  overflow: hidden; /* 隐藏超出容器的内容 */
  text-overflow: ellipsis; /* 溢出部分显示省略号（...） */
}
.viewer-container {
  z-index: 10000 !important;
}
/* 覆盖 Viewer 默认下载按钮背景 */
.viewer-toolbar .viewer-download {
  
  position: relative;

}

.viewer-toolbar .viewer-download::before{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: url('@/assets/images/download.png') no-repeat center center;
  content: "download";
  margin: 0 !important;
  background-size: 100% 100% !important;
  padding: 0;
  /* color: #fff; */
}